<?php 
include('segments/_header_.php');

?>
	<body>
		<h1>安装插件</h1>
		<form action="index.php?step=6" method="post">
		<table class="ysi-table">
			<col width="4%"/>
			<col />
			<tr>
				<th></th><th>插件</th>
			</tr>
			<? foreach($features as $feature) {?>
				<tr>
					<td>
						<?php if(in_array($feature->id, array('com_yizin_fm_FMFeature','com_yizin_platform_PlatformFeature','com_yizin_site_SiteFeature'))) { ?>
						<input type="checkbox" checked="checked" disabled="disabled" />
						<input type="hidden" name="id[]" value="<?=$feature->id?>" />
						<? } else {?>
						<input type="checkbox" name="id[]" checked="checked" value="<?=$feature->id?>" />
						<? } ?>
					</td>
					<td><?=$feature->name?></td>
				</tr>
			<? }?>
		</table>
		<?=ysi_vspace();?>
		<input type="submit" value="继续" class="action-normal" />
		</form>
	</body>
</html>